﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EnvironmentManagerSystem.MODE
{
    public class UserDataCollection : List<UserData>
    {

    }
    /// <summary>
    /// 用户实体
    /// </summary>
    public class UserData
    {
        /// <summary>
        /// auto_increment
        /// </summary>		
        private int _id;
        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// UserName
        /// </summary>		
        private string _username;
        public string UserName
        {
            get { return _username; }
            set { _username = value; }
        }
        /// <summary>
        /// LoginName
        /// </summary>		
        private string _loginname;
        public string LoginName
        {
            get { return _loginname; }
            set { _loginname = value; }
        }
        /// <summary>
        /// Password
        /// </summary>		
        private string _password;
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }
        /// <summary>
        /// Phone
        /// </summary>		
        private string _phone;
        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }
        /// <summary>
        /// RoleId
        /// </summary>		
        private string _roleid;
        public string RoleId
        {
            get { return _roleid; }
            set { _roleid = value; }
        }
        /// <summary>
        /// UserKind
        /// </summary>		
        private string _userkind;
        public string UserKind
        {
            get { return _userkind; }
            set { _userkind = value; }
        }
        /// <summary>
        /// InUse
        /// </summary>		
        private int _inuse;
        public int InUse
        {
            get { return _inuse; }
            set { _inuse = value; }
        }        
    }
}
